python - exclude rowin data frame based on value

37

python - exclude rowin data frame based on value -

df = df[df.myvar != 0]
df = df[df.myvar < 2]

Comments

Submit
0 Comments